
// ChildFrm.h : interface of the CChildSpliteFrame class
//
/////////////////////////////////////////////////////////////////////////////

#pragma once
template <bool t_bVertical = true>
class CChildSpliteFrame : public CMDIChildWindowImpl<CChildSpliteFrame<t_bVertical>>,
	public CSplitterWindowImpl<CChildSpliteFrame<t_bVertical>>,
	public CMessageFilter,
	public CIdleHandler
{
public:
	DECLARE_FRAME_WND_CLASS(NULL, IDR_MDICHILD)

	CView m_view;
	virtual void OnFinalMessage(HWND /*hWnd#1*/);

	virtual BOOL PreTranslateMessage(MSG* pMsg);
	virtual BOOL OnIdle();

	BEGIN_MSG_MAP(CChildSpliteFrame)
		MESSAGE_HANDLER(WM_CREATE, OnCreate)
		MESSAGE_HANDLER(WM_DESTROY, OnDestroy)
		MESSAGE_HANDLER(WM_FORWARDMSG, OnForwardMsg)
		CHAIN_MSG_MAP(CMDIChildWindowImpl<CChildSpliteFrame>)
	END_MSG_MAP()

	// Handler prototypes (uncomment arguments if needed):
	//	LRESULT MessageHandler(UINT /*uMsg#1#, WPARAM /*wParam#1#, LPARAM /*lParam#1#, BOOL& /*bHandled#1#)
	//	LRESULT CommandHandler(WORD /*wNotifyCode#1#, WORD /*wID#1#, HWND /*hWndCtl#1#, BOOL& /*bHandled#1#)
	//	LRESULT NotifyHandler(int /*idCtrl#1#, LPNMHDR /*pnmh#1#, BOOL& /*bHandled#1#)

	LRESULT OnCreate(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled);
	LRESULT OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled);
	LRESULT OnForwardMsg(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled);

protected:
	
	

	
};

